/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package assignment;



/**
 *
 * @author Clive
 */
public class CreditCard {
    private int id;
    private String creditNumber;    
    private String nameOnCreditCard;
    private float balance;
    private boolean option;

    public float getBalance() {
        return balance;
    }

    public void setBalance(float balance) {
        this.balance = balance;
    }

    public boolean isOption() {
        return option;
    }

    public void setOption(boolean option) {
        this.option = option;
    }
    
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }
    


    public String getCreditNumber() {
        return creditNumber;
    }

    public void setCreditNumber(String creditNumber) {
        this.creditNumber = creditNumber;
    }



    public String getNameOnCreditCard() {
        return nameOnCreditCard;
    }

    public void setNameOnCreditCard(String nameOnCreditCard) {
        this.nameOnCreditCard = nameOnCreditCard;
    }
    

    @Override
    public String toString() {
        return "com.startup.musicstore.model.CreditCard[ id=" + id + " ]";
    }
    
}
